package com.lt.experiment02;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.experiment02
 * @ClassName Test
 * @Description to do
 * @date 2021/9/18 22:47
 * @since
 */
public class Test {
    public static void main(String[] args) {
        Person king = new King();
        Person queen = new Queen();
        Person knight = new Knight();
        Person pawn = new Pawn();

        king.MB.attack();
        queen.MB.attack();
        knight.MB.attack();
        pawn.MB.attack();
        king.WB.attack();
        queen.WB.attack();
        knight.WB.attack();
        pawn.WB.attack();

    }
}
